html,
body {
	background-color: #efeff4;
}

.title {
	margin: 20px 15px 10px;
	color: #6d6d72;
	font-size: 15px;
	padding-bottom: 51px;
}

.post-item {
	border: 1px solid #ccc;
	padding: 15px;
	margin: 10px 0;
}

.post-item .username {
	font-weight: bold;
}

.post-item .interaction {
	margin-top: 10px;
}

.post-item img {
	max-width: 100%;
	height: auto;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.post {
	width: 100%;
	max-width: 600px;
	margin: 20px auto;
	padding: 15px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	font-family: Arial, sans-serif;
	padding-top: 80px;
}

.user-info {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	margin-right: 10px;
}

.user-details .username {
	font-size: 16px;
	font-weight: bold;
	color: #333;
}

.user-details .location {
	font-size: 12px;
	color: #999;
}

.post-content p {
	font-size: 14px;
	line-height: 1.6;
	color: #333;
	margin-bottom: 10px;
}

.post-images img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	object-fit: cover;
	margin-bottom: 15px;
}

.interactions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
}

.like-comment button {
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 20px;
	padding: 8px 15px;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.like-comment button:hover {
	background-color: #0056b3;
}

.likes-count,
.comments-count {
	color: #666;
}
/* 通用样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
}

.container {
  display: flex;
  flex-direction: column;
  height: 90%;
}

.content {
  flex: 1; /* 占据剩余空间 */
  padding: 20px;
  overflow-y: auto; /* 使内容区可滚动 */
  background-color: #f4f4f4;
  height: calc(100vh - 500px); /* 视口高度减去导航栏的高度 */
}

.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px 0;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

.navbar ul li {
  margin: 0 15px;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.navbar ul li a:hover {
  color: #f1f1f1;
}
@media (max-width: 480px) {
	.post {
		padding: 10px;
	}
}
@media (max-width: 768px) {
  .navbar {
    padding: 8px 0;
  }

  .navbar ul li a {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 6px 0;
  }

  .navbar ul li a {
    font-size: 12px;
  }
}
